import {companyApi,userApi} from "../api";
  export default {
    async getCompanyList({commit}){
        let result = await companyApi.getCompanyList();
        let companyList = result.data;
        console.log(result);
        commit("setCompanyList",companyList);
    },

    async checkLogin({commit}){
      let result = await userApi.checkLogin();
      let userData = result.data;
      commit("setUserInfo",userData);
    }
  }  